package com.linftech.demo.document;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by cofey on 2017/3/4.
 */
public class OrderBomDetail implements Serializable {
    private String inventoryId;
    private String inventoryCode;
    private String inventoryName;
    private String inventorySpec;
    private String attributeCode;
    private String attributeName;
    private String unitCode;
    private String unitName;
    private BigDecimal quantity;
    private String byUnitCode;
    private String byUnitName;
    private String conversionRate;
    private BigDecimal packQty;
    private Float lossRate = 0f;
    private BigDecimal orderQuantity;
    private BigDecimal productionQuantity;
    private String supplierCode;
    private String supplierName;
    private BigDecimal supplierPrice;
    private BigDecimal supplierAmount;

    private OrderBomProcess children;

    public String getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(String inventoryId) {
        this.inventoryId = inventoryId;
    }

    public String getInventoryCode() {
        return inventoryCode;
    }

    public void setInventoryCode(String inventoryCode) {
        this.inventoryCode = inventoryCode;
    }

    public String getInventoryName() {
        return inventoryName;
    }

    public void setInventoryName(String inventoryName) {
        this.inventoryName = inventoryName;
    }

    public String getInventorySpec() {
        return inventorySpec;
    }

    public void setInventorySpec(String inventorySpec) {
        this.inventorySpec = inventorySpec;
    }

    public String getAttributeCode() {
        return attributeCode;
    }

    public void setAttributeCode(String attributeCode) {
        this.attributeCode = attributeCode;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getByUnitCode() {
        return byUnitCode;
    }

    public void setByUnitCode(String byUnitCode) {
        this.byUnitCode = byUnitCode;
    }

    public String getByUnitName() {
        return byUnitName;
    }

    public void setByUnitName(String byUnitName) {
        this.byUnitName = byUnitName;
    }

    public String getConversionRate() {
        return conversionRate;
    }

    public void setConversionRate(String conversionRate) {
        this.conversionRate = conversionRate;
    }

    public BigDecimal getPackQty() {
        return packQty;
    }

    public void setPackQty(BigDecimal packQty) {
        this.packQty = packQty;
    }

    public Float getLossRate() {
        return lossRate;
    }

    public void setLossRate(Float lossRate) {
        this.lossRate = lossRate;
    }

    public BigDecimal getOrderQuantity() {
        return orderQuantity;
    }

    public void setOrderQuantity(BigDecimal orderQuantity) {
        this.orderQuantity = orderQuantity;
    }

    public BigDecimal getProductionQuantity() {
        return productionQuantity;
    }

    public void setProductionQuantity(BigDecimal productionQuantity) {
        this.productionQuantity = productionQuantity;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public BigDecimal getSupplierPrice() {
        return supplierPrice;
    }

    public void setSupplierPrice(BigDecimal supplierPrice) {
        this.supplierPrice = supplierPrice;
    }

    public BigDecimal getSupplierAmount() {
        return supplierAmount;
    }

    public void setSupplierAmount(BigDecimal supplierAmount) {
        this.supplierAmount = supplierAmount;
    }

    public OrderBomProcess getChildren() {
        return children;
    }

    public void setChildren(OrderBomProcess children) {
        this.children = children;
    }
}
